USE DeltaFlex
GO
IF ( OBJECT_ID('dbo.sp_ActualitzarConcepte_OT') IS NOT NULL ) 
   DROP PROCEDURE dbo.sp_ActualitzarConcepte_OT
GO

CREATE PROCEDURE sp_ActualitzarConcepte_OT
				@IDCONCEPTE int,
				@QUANTITAT int,
				@IDARTICLE int,
				@AMPLE decimal(8,4),
				@ALT decimal(8,4),
				@IMPORT decimal(8,4) 

AS
BEGIN
	SET NOCOUNT ON

	UPDATE dbo.CONCEPTE_OT
	   SET QUANTITAT = @QUANTITAT,
	       IDARTICLE = @IDARTICLE,
		   AMPLE = @AMPLE,
		   ALT = @ALT,
		   IMPORT = @IMPORT
     WHERE IDCONCEPTE = @IDCONCEPTE

	END
GO

